package com.play.service;

import com.github.pagehelper.PageInfo;
import com.play.entity.Herb;

public interface IHerbService {

	
	int addHerb(Herb herb);
	int updateHerb(Herb herb);
	
	Herb selectHerbByName(String name);
	
	Herb selectHerbById(Long id);
	
	PageInfo<Herb> selectHerbList(int pageNum, int pageSize, String name, String description);
}
